﻿@{
    ViewBag.Title = "CalPi";
    Layout = "~/Views/Shared/_Layout.cshtml";
    <script src="~/Scripts/gbh/CalPi.js"></script>
}

<div id="LoadingImage" >
    <img src="/img/circle-loading-animation.gif" alt="" style="width:200px;height:200px" />
</div>
<div class="easyui-panel" title="Upload File" style="padding: 10px 10px 10px 10px">

    <div id="cc" class="easyui-layout" style="width:100%;height:100px;">

        <div data-options="region:'west'" style="width:200px;padding:10px">
            <a href="javascript:getCalPi();" class="easyui-linkbutton">Calculate PI</a>

        </div>
        <div data-options="region:'center'" style="padding:10px">
            <div>
                <label style="width:100px;"> Stock:</label>
                <label id="stockPath"></label>
            </div>
            <div>
                <label style="width:100px;">
                    Sell:
                </label>
                <label id="sellOutPath"></label>
            </div>
            <div>
                <label style="width:100px;">
                    Pending Order:
                </label>
                <label id="pendingOrderTime"></label>
            </div>

        </div>
    </div>




</div>
<table id="branchAll" class="easyui-datagrid"  >
    <thead>
        <tr>
            <th field="ck" checkbox="true"></th>
            <th field="mbranchno" width="200" align="center">
                รหัส Branch
            </th>
            <th field="mprovdesc" width="300" align="center">
                ชื่อ Branch
            </th>
            <th field="mprovtrans" width="100" align="center">
                รหัสย่อ Branch
            </th>
            <th field="id" width="100" align="center" formatter="formatCreateDraft">
                Draft
            </th>
        </tr>
    </thead>

</table>

